Get Session content on cshtml

155

Get Session content on cshtml -

@using Microsoft.AspNetCore.Http
@{
	var x = Context.Session.GetString("Some Key");
}

Comments

Submit
0 Comments